<span class="date"><?php
    $value = pc_variable("value");
    if($value !== null) {
        pc_echo(pc_format_date($value, pc_message("localization.dateFormat")));
    }
?></span>